package com.blog.backend.req;

import com.blog.backend.vo.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * @author fanggongsai
 * @description
 * @Date 2021-07-17
 */
@Setter
@Getter
public class ArticleListReq extends PageRequest implements Serializable {

    private static final long serialVersionUID = -7900416973942734104L;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("板块id")
    private String plateId;

    @ApiModelProperty("文章名称")
    private String articleName;

    //草稿
    private Integer status;

    @Override
    public String toString() {
        return "{" +
                "startTime=" + startTime +
                ", endTime=" + endTime +
                ", plateId='" + plateId + '\'' +
                ", articleName='" + articleName + '\'' +
                '}';
    }
}
